/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ticket.schleamiddlecadres.service;

import java.util.List;

import com.jeeplus.modules.ticket.crowdleadershipteach.entity.CrowdLeadershipTeach;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.ticket.schleamiddlecadres.entity.SchoolleaderMiddlecadres;
import com.jeeplus.modules.ticket.schleamiddlecadres.mapper.SchoolleaderMiddlecadresMapper;

/**
 * 评价中层干部Service
 * @author 刘明星
 * @version 2021-09-15
 */
@Service
@Transactional(readOnly = true)
public class SchoolleaderMiddlecadresService extends CrudService<SchoolleaderMiddlecadresMapper, SchoolleaderMiddlecadres> {

	public SchoolleaderMiddlecadres get(String id) {
		return super.get(id);
	}
	
	public List<SchoolleaderMiddlecadres> findList(SchoolleaderMiddlecadres schoolleaderMiddlecadres) {
		return super.findList(schoolleaderMiddlecadres);
	}
	
	public Page<SchoolleaderMiddlecadres> findPage(Page<SchoolleaderMiddlecadres> page, SchoolleaderMiddlecadres schoolleaderMiddlecadres) {
		return super.findPage(page, schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateGood(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateGood(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateCompetent(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateCompetent(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateBasisCompetentList(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateBasisCompetentList(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateNoCompetentList(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateNoCompetentList(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakGood(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateSpeakGood(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakCompetent(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateSpeakCompetent(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakBasisCompetentList(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateSpeakBasisCompetentList(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false) // 如果不加这一行那么就只能只读不能修改所以用到修改方法是必加的
	public void updateSpeakNoCompetentList(SchoolleaderMiddlecadres schoolleaderMiddlecadres){
		mapper.updateSpeakNoCompetentList(schoolleaderMiddlecadres);
	}
	@Transactional(readOnly = false)
	public void save(SchoolleaderMiddlecadres schoolleaderMiddlecadres) {
		super.save(schoolleaderMiddlecadres);
	}
	
	@Transactional(readOnly = false)
	public void delete(SchoolleaderMiddlecadres schoolleaderMiddlecadres) {
		super.delete(schoolleaderMiddlecadres);
	}
	
}